<div class="layui-card-body" style="line-height: 36px;font-size: 14px;">
    <style>.layui-layer-content{height: 650px  }</style>
    {foreach $plan_list as $k=>$v}
    <div class="layui-row margin-bottom-12">
        <div style="text-align: center;color: red">{$v.admin_name|default=''}</div>
    </div>
    <div class="layui-row margin-bottom-15">
            <table class="layui-table margin-top-10 table2excel" lay-skin="line">
                <thead>
                <tr>
                    <th class="text-center">编号</th>
                    <th class="text-center">名称</th>
                    <th class="text-center">型号</th>
                    <th class="text-center">单位</th>
                    <th class="text-center">价格</th>
                    <th class="text-center">数量</th>
                    <th class="text-center">金额</th>
                    <th class="text-center">所属人</th>
<!--                    <th class="text-center">备注</th>-->
                </tr>
                </thead>
                <tbody id="one_add">
                <style>
                    th{text-align: center;}
                    .burds{width:80%;height:28px;text-align: center;border: none;}
                </style>
                <tr data-dbclick>
                    <td class='text-center'>{$v.material_code|default=''}</td>
                    <td class='text-center'>{$v.material_name|default=''}</td>
                    <td class='text-center'>{$v.material_model|default=''}</td>
                    <td class='text-center'>{$v.material_unit|default=''}</td>
                    <td class='text-center'>{$v.material_price|default=''}</td>
                    <td class='text-center'>{$v.material_num|default=''}</td>
                    <td class='text-center'>{$v.material_xjprice|default=0}</td>
                    <th class="text-center">{$v.admin_name|default=''}</th>
<!--                    <td class='text-center'><span class="material_xjprice">{$val.material_notes|default='&#45;&#45;'}</span></td>-->
                </tr>
                </tbody>
            </table>
    </div>
    {/foreach}
</div>
<div class="hr-line-dashed"></div>
<script src="__ROOT__/static/jquery.table2excel.js"></script>
<script>
    $(function() {
        $("#btn").click(function(){
            $(".table2excel").table2excel({
                exclude: ".noExl",
                name: "1111",
                filename: "队组计划明细",
                exclude_img: true,
                exclude_links: true,
                exclude_inputs: true
            });
        });
    });
</script>

<div class="layui-form-item text-center">
    <button class="layui-btn layui-layer-close layui-layer-close1" type='submit'>关闭</button>
</div>